var express = require("express");
var app = express();
var router = require("./controller");
//设置模版引型
app.set("view engine", "ejs");

//路由中间件
app.use(express.static("./public"));


app.get("/", router.shouIndex);


app.listen(8090);